﻿using System.Collections.Generic;

using Game.Objects;

namespace Game.Controller.Internal
{
    static class AttackValue
    {
        static readonly Dictionary<Vehicle, int> _Dictionary = new Dictionary<Vehicle, int>();

        public static void SetValue(Vehicle vehicle, int value)
        {
            _Dictionary[vehicle] = value;
        }

        public static int GetValue(Vehicle vehicle)
        {
            if (!_Dictionary.ContainsKey(vehicle))
            {
                return 0;
            }

            return _Dictionary[vehicle];
        }
    }
}
